@import 'src/res/theme/xxhz';



.meals-list-root {
  width: 100%;
  padding-bottom: 20px;

  .head-bg {
    background-color: #fff;
    position: sticky;
    z-index: 999;
    left: 0;
    top: 0;
    padding: 20px;
    width: auto !important;
    .at-search-bar__input-cnt{
      background-color: #f7f7f7;
    }
  }

  .model-wrapper{
    .at-modal__content{
      min-height: inherit;
      .at-input{
        border: 1px solid #d6e4ef;
        border-radius: 8px;
        margin-left: 0;
        text-align: center;
      }
    }
  }

  .at-search-bar {
    background: none;
    padding: 0;

    &:after {
      border: none;
    }
  }

  .at-search-bar__input-cnt {
    background: #fff;
  }

  .order-tabs {
    background: $color-default-background;

    .at-tabs__header {
      background: none;
    }

    .at-tabs__item-underline {
      width: 30%;
      left: 35%;
      height: 6px;
      border-radius: 3px;
      margin: 0 auto;
    }

    .at-tabs__item--active {
      color: #1d1d1d;
    }
  }

  .order-item {
    width: 710px;
    margin: 20px auto 0;
    box-sizing: border-box;
    border-radius: 10px;
    background-color: white;
    padding: 30px;

    .head {
      width: 100%;
      box-sizing: border-box;
      line-height: 110px;
      font-size: 24px;
      color: #ee5420;
      display: flex;
      align-items: center;
      justify-content: flex-end;
      font-weight: bold;
    }

    .order-info {
      display: flex;
      justify-content: space-between;
      height: 156px;

      .img {
        width: 162px;
        height: 156px;
        border-radius: 10px;
      }

      .name-box {
        width: 420px;
        box-sizing: border-box;
        padding-left: 20px;

        .name {
          font-size: 28px;
          line-height: 40px;
          color: #333;
          display: -webkit-box;
          /*! autoprefixer: ignore next */
          -webkit-box-orient: vertical;
          /* autoprefixer: on */
          -webkit-line-clamp: 2;
          overflow: hidden;
          font-weight: bold;
        }

        .date, .valid-date {
          font-size: 22px;
          line-height: 40px;
          color: #b0b0b0;
        }
      }

      .order-info-right {
        width: 54px;
        height: 125px;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        justify-content: space-between;

        .order-info-num {
          font-size: 22px;
          line-height: 40px;
          color: #b0b0b0;
        }

        .order-info-from {
          width: 42px;
          height: 42px;
        }
      }
    }

    .total {
      height: 60px;
      display: flex;
      align-items: center;
      justify-content: space-between;

      .title {
        font-size: 25px;
        color: #888888;
      }

      .price-box {
        display: flex;
        justify-content: flex-end;
        align-items: center;

        .shouyi {
          color: #666666;
          font-size: 25px;
          padding-right: 60px;

          .bag {
            font-size: 32px;
          }
        }

        .price {
          font-size: 36px;
          color: #000;
          font-weight: bold;

          text, .taro-text {
            font-size: 43px;
          }
        }
      }

    }

    .btn-box {
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 100%;
      box-sizing: border-box;
      color: $color-font-less;

      .btn-item-box {
        display: flex;
        align-items: center;
      }

      .btn-item {
        width: 136px;
        line-height: 44px;
        font-size: 26px;
        border-radius: 24px;
        border: solid 1Px #efefef;
        text-align: center;
        margin-top: 30px;
      }

      .btn-item:first-child {
        margin-right: 20px;
      }

      .primary {
        border-color: #666666;
        color: #666666;
      }
    }
  }

  .badge-box {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    width: 100%;
    user-select: none;
    pointer-events: none;

    .badge {
      width: 20%;
      display: flex;
      justify-content: flex-end;
      align-items: flex-start;
      box-sizing: border-box;
      padding: 10px 14px;

      .item {
        background: red;
        line-height: 34px;
        min-width: 34px;
        border-radius: 17px;
        font-size: 20px;
        color: white;
        text-align: center;
        padding: 0 6px;
      }
    }
  }

  .listNull {
    width: 100%;
    height: 105vw;
    text-align: center;
    overflow: hidden;

    image, .taro-img {
      width: 295px;
      height: 295px;
      margin: 86px auto 35px;
    }

    .text {
      font-size: 24px;
      color: #666
    }
  }

}
